<script setup lang="ts">
import { onMounted, inject, ref } from "vue";
import { YJContext } from "../../keys";
const ctx = ref();
onMounted(() => {
	ctx.value = inject(YJContext);
});
</script>

<template>
	<TTOrbitControls v-if="ctx" :args="[ctx.camera, ctx.renderer.domElement]"></TTOrbitControls>
</template>
